﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Comment.aspx.cs" Inherits="SkWeb.FASJ.Comment" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>数据表结构信息</title>
     <link  id="MyCss" href="../COMMON/CSS/Default.css" rel="stylesheet" type="text/css" />
     <script type="text/javascript" language="javascript" src="../COMMON/JS/changerows.js" ></script>
</head>
  <body class="tree_bgcolor" style="text-align: center">
    <form id="form1" runat="server" >
    <div >
     <table  border="1" cellpadding="5" cellspacing="0" class="table_bordercolor" height="56px" width="100%" id="TABLE1" runat="server">
          <tr>
                            <td  colspan="6" style="height: 16px; text-align: center; width:100%" valign="top" bgcolor="#3cb6e5">
                                【 <strong>方案设计</strong>】
                                </td>
                        </tr>
                        <tr style="width: 210px; height: 22px;" class="r_bg" >
                        <td colspan="2" width="200px">选择表：&nbsp;
                       <asp:DropDownList ID="ddlTname" runat="server" Height="16px" Width="121px" 
                                onselectedindexchanged="ddlTname_SelectedIndexChanged" AutoPostBack="true">
                            </asp:DropDownList>
                            
                       
                        </td>
                        <td colspan="2" width="200px">备注：
                       <asp:TextBox ID="txtComment" runat="server">
                            </asp:TextBox>
                            
                       
                        </td>
                        <td colspan="1" width="100px">
                       
                            <asp:Button ID="btnMdyCom" runat="server" Text="修改备注" onclick="btnMdyCom_Click">
                            </asp:Button>
                       
                        </td><td colspan="1" width="200px" style=" text-align:left">
                       
                            <asp:Label ID="labMessage" runat="server" Text="提示信息"></asp:Label>
                        </td>
                         
                         </tr>
                        <tr valign="top"  style ="height:40%; width:900px; " id="GridUser2">
                        <td  colspan="6" style="height: 16px; text-align: center; width:100%" valign="top" align="center">
        <table style="margin:auto" >
   
            
            <tr style=" vertical-align:top;height:100px">
                <td >
                 <div style="overflow:auto;">
                    <asp:GridView ID="GridView1" CssClass="gridview"  runat="server" 
                        AutoGenerateColumns="False" CellPadding="4"
                        ForeColor="#333333" GridLines="None"
                       Width="80%" AllowPaging="True" >
                        <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White"/>
                        <Columns>
                          
                             <asp:BoundField DataField="column_name"  HeaderText="字段名" HeaderStyle-Width="120px" ReadOnly="True" />
                              
                    
                             <asp:TemplateField HeaderText="备注" Visible="true" >
                                <HeaderStyle Width="250px" />
                                <ItemTemplate>
                                 <asp:TextBox  runat="server" ID="txtComment" Text='<%#Eval("comments")%>' Width="200px"/>
                                </ItemTemplate>
                            </asp:TemplateField>
                              
                             
                     
                        </Columns>
                        <RowStyle ForeColor="#000066" />
                        <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                      <PagerSettings Visible="False" />
                    </asp:GridView>
                     </div>
                </td>
            
            </tr>
                       

        </table>
        </td>
        </tr>
                <tr style="HEIGHT: 15px" >
			    <td vAlign="middle" align="center" style="height: 15px" colspan="6">
				<p align="center">
				<FONT face="宋体">&nbsp; 
				&nbsp; </FONT>
				<asp:label id="lblPageCount" runat="server" Font-Size="9pt" Font-Bold="True"></asp:label><FONT face="宋体">&nbsp;</FONT>
				<asp:label id="lblCurrentIndex" runat="server" Font-Size="9pt" Font-Bold="True"></asp:label><FONT face="宋体">&nbsp;</FONT>
				<asp:linkbutton id="btnFirst" runat="server" ForeColor="navy" CommandArgument="0" Font-size="9pt" OnClick="PagerButtonClick"></asp:linkbutton><FONT face="宋体">&nbsp;</FONT>
				<asp:linkbutton id="btnPrev" runat="server" ForeColor="navy" CommandArgument="prev" Font-size="9pt" OnClick="PagerButtonClick"></asp:linkbutton><FONT face="宋体">&nbsp;</FONT>
				<asp:linkbutton id="btnNext" runat="server" ForeColor="navy" CommandArgument="next" Font-size="9pt" OnClick="PagerButtonClick"></asp:linkbutton><FONT face="宋体">&nbsp;</FONT>
				<asp:linkbutton id="btnLast" runat="server" ForeColor="navy" CommandArgument="last" Font-size="9pt" OnClick="PagerButtonClick"></asp:linkbutton><FONT face="宋体">&nbsp;
                    </FONT></p>
				</td>
		    </tr>
            <tr >
                          <td  colspan="6"  align="center" bgcolor="#3cb6e5">
                         <asp:Button ID="btnSave" Text="保存" runat="server" onclick="btnSave_Click"   CssClass="submit" 
                                  />
                                  
                        </td>
                        </tr>
            
        </table>
       
                     
                
    </div>
  
    </form>
</body>
</html>
